package com.imooc.enums;

import lombok.Getter;

/**
 * Created by zhanglei on 2019/1/28.
 * 商品上下架枚举
 */
@Getter
public enum ProductStatusEnum {
    UP(0,"在架"),
    DOWN(1,"下架"),
    ;
    private Integer code;
    private String message;

    ProductStatusEnum(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
}
